package ramakrishnanmoreHealthView;

import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.forms.widgets.FormToolkit;
import org.eclipse.swt.custom.CTabFolder;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Text;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.FormLayout;
import swing2swt.layout.BoxLayout;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.List;

public class f1 extends Composite
	{

		private final FormToolkit	toolkit	= new FormToolkit(Display
													.getCurrent());
		private Text txtFirstname;
		private Text txtLastname;
		private Text text_2;

		/**
		 * Create the composite.
		 * @param parent
		 * @param style
		 */
		public f1(Composite parent, int style)
			{
				super(parent, style);
				toolkit.adapt(this);
				toolkit.paintBordersFor(this);
				setLayout(null);
				{
					txtFirstname = new Text(this, SWT.BORDER);
					txtFirstname.setText("FirstName");
					txtFirstname.setBounds(32, 44, 76, 19);
					toolkit.adapt(txtFirstname, true, true);
				}
				{
					txtLastname = new Text(this, SWT.BORDER);
					txtLastname.setText("LastName");
					txtLastname.setBounds(179, 44, 76, 19);
					toolkit.adapt(txtLastname, true, true);
				}
				{
					List list = new List(this, SWT.BORDER);
					list.setBounds(398, 106, 116, 159);
					toolkit.adapt(list, true, true);
				}
				{
					Composite composite = new Composite(this, SWT.NONE);
					composite.setBounds(10, 106, 294, 360);
					toolkit.adapt(composite);
					toolkit.paintBordersFor(composite);
					{
						Label lblMonth = new Label(composite, SWT.NONE);
						lblMonth.setBounds(10, 31, 152, 21);
						toolkit.adapt(lblMonth, true, true);
						lblMonth.setText("MONTH");
					}
					{
						Button btnJan = new Button(composite, SWT.RADIO);
						btnJan.setBounds(10, 72, 83, 16);
						toolkit.adapt(btnJan, true, true);
						btnJan.setText("JAN");
					}
					{
						Button btnFeb = new Button(composite, SWT.RADIO);
						btnFeb.setBounds(10, 94, 83, 16);
						toolkit.adapt(btnFeb, true, true);
						btnFeb.setText("FEB");
					}
					{
						Button btnMar = new Button(composite, SWT.RADIO);
						btnMar.setBounds(10, 116, 83, 16);
						toolkit.adapt(btnMar, true, true);
						btnMar.setText("MAR");
					}
					{
						Button btnApr = new Button(composite, SWT.RADIO);
						btnApr.setBounds(10, 138, 83, 16);
						toolkit.adapt(btnApr, true, true);
						btnApr.setText("APR");
					}
					{
						Button btnMay = new Button(composite, SWT.RADIO);
						btnMay.setBounds(10, 160, 83, 16);
						toolkit.adapt(btnMay, true, true);
						btnMay.setText("MAY");
					}
					{
						Button btnJun = new Button(composite, SWT.RADIO);
						btnJun.setBounds(10, 183, 83, 16);
						toolkit.adapt(btnJun, true, true);
						btnJun.setText("JUN");
					}
					{
						Button btnJul = new Button(composite, SWT.RADIO);
						btnJul.setBounds(10, 205, 83, 16);
						toolkit.adapt(btnJul, true, true);
						btnJul.setText("JUL");
					}
					{
						Button btnAug = new Button(composite, SWT.RADIO);
						btnAug.setBounds(10, 227, 83, 16);
						toolkit.adapt(btnAug, true, true);
						btnAug.setText("AUG");
					}
					{
						Button btnSep = new Button(composite, SWT.RADIO);
						btnSep.setBounds(10, 249, 83, 16);
						toolkit.adapt(btnSep, true, true);
						btnSep.setText("SEP");
					}
					{
						Button btnOct = new Button(composite, SWT.RADIO);
						btnOct.setBounds(10, 271, 83, 16);
						toolkit.adapt(btnOct, true, true);
						btnOct.setText("OCT");
					}
					{
						Button btnNov = new Button(composite, SWT.RADIO);
						btnNov.setBounds(10, 293, 83, 16);
						toolkit.adapt(btnNov, true, true);
						btnNov.setText("NOV");
					}
					{
						Button btnDec = new Button(composite, SWT.RADIO);
						btnDec.setBounds(10, 315, 83, 16);
						toolkit.adapt(btnDec, true, true);
						btnDec.setText("DEC");
					}
					{
						text_2 = new Text(composite, SWT.BORDER);
						text_2.setBounds(158, 72, 97, 35);
						toolkit.adapt(text_2, true, true);
					}
					{
						Label lblYear = new Label(composite, SWT.NONE);
						lblYear.setBounds(158, 31, 64, 13);
						toolkit.adapt(lblYear, true, true);
						lblYear.setText("YEAR");
					}
				}
				{
					Label label1 = new Label(this, SWT.NONE);
					label1.setText("Please Enter you Personal and Health Information: ");
					label1.setBounds(32, 10, 294, 13);
					toolkit.adapt(label1, true, true);
				}
				{
					Label lblDiseases = new Label(this, SWT.NONE);
					lblDiseases.setBounds(398, 63, 116, 13);
					toolkit.adapt(lblDiseases, true, true);
					lblDiseases.setText("Diseases: ");
				}
				{
					Label lblDob = new Label(this, SWT.NONE);
					lblDob.setBounds(10, 85, 127, 13);
					toolkit.adapt(lblDob, true, true);
					lblDob.setText("DOB");
				}
				{
					Button button = new Button(this, SWT.NONE);
					button.setBounds(468, 443, 68, 23);
					toolkit.adapt(button, true, true);
					button.setText("New Button");
				}

			}
	}
